<script>
	export default {
		globalData: {
			isLogin: false // 初始未登录
		},
		onLaunch: function() {
			console.log('App Launch')
			const token = uni.getStorageSync('token');
			this.globalData.isLogin = token ? true : false;
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import "@/uni_modules/uview-ui/index.scss";
</style>